#!/bin/bash
gnome-terminal -x bash -c "cd ~/host_pjt; source ~/host_pjt/install/setup.bash; roslaunch mavros px4.launch fcu_url:=/dev/ttyUSB0:115200 " &
sleep 5
gnome-terminal -x bash -c "cd ~/host_pjt; source ~/host_pjt/install/setup.bash; rosrun commander commander_node" &
sleep 5
gnome-terminal -x bash -c "cd ~/host_pjt; source ~/host_pjt/install/setup.bash; roslaunch communication communication.launch station_url:=/dev/ttyUSB1:115200" &
sleep 4
gnome-terminal -x bash -c "cd ~/host_pjt; source ~/host_pjt/install/setup.bash; rosrun control control_node" &
sleep 4
gnome-terminal -x bash -c "cd ~/host_pjt; source ~/host_pjt/install/setup.bash; rosrun formation formation_node" &

   
